﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace BlueMonkey.BlueCore
{
    public class MediaObject
    {
        private string _id = string.Empty;
        private string _name = string.Empty;
        private string _type = string.Empty;
        private string _title = string.Empty;
        private string _path = string.Empty;
        private string _thumbnail = string.Empty;
        private object _tags = null;

        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Path
        {
            get { return _path; }
            set { _path = value; }
        }

        public string Thumbnail
        {
            get { return _thumbnail; }
            set { _thumbnail = value; }
        }
        
        public object Tags
        {
            get { return _tags; }
            set { _tags = value; }
        }

        public bool IsFilePath()
        {
            return File.Exists(_path);
        }

        public bool IsMMSURL()
        {
            throw new NotImplementedException();
        }
    }
}
